package ${packageName}.dao;
import java.util.*;
import ${packageName}.model.${upperFirstLetterName};

public interface ${upperFirstLetterName}Dao{

	Integer count();

	${upperFirstLetterName} getBy${upperFirstLetterPrimaryKey}(${primaryKeyType} ${primaryKey});

	Integer deleteBy${upperFirstLetterPrimaryKey}(${primaryKeyType} ${primaryKey});

	Integer update(${upperFirstLetterName} ${lowerFirstLetterName});

	Integer save(${upperFirstLetterName} ${lowerFirstLetterName});

	List<${upperFirstLetterName}> list();

	List<${upperFirstLetterName}> page(int start, int step );
	
}